<?php

namespace app\common\model;

use think\Db;
use think\Model;

/**
 * 文档基础模型
 */
class Withdrawal extends Model
{
    protected $auto = [];
    protected $insert = ['status','createtime'];
    protected $update = [];

    /**
     * 设置注册时间
     * @return int
     */
    protected function setCreatetimeAttr()
    {
        return time();
    }

    /**
     * 设置初始化状态
     * @return int
     */
    protected function setStatusAttr()
    {
        return 0;
    }

}
